<%@ page import="book.zone.log.Logger" %>
<%@ page import="java.util.ArrayList" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="sql" uri="http://java.sun.com/jstl/sql" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>

<%
    ArrayList itemsInCArt = (ArrayList) session.getAttribute("itemsInCart");
    for (Object item : itemsInCArt){
%>

    <div class="bookItem">
        <div class="productImage"><img src="<%=((String[]) item)[6]%>" alt="xxx" border="0"/></div>
        <div class="productData">
            <div class="productTitle">
                <span><%=((String[]) item)[1]%></span>
                <%--<a href="/details.jsp?product_id=${row.book_id}">${row.title}</a>--%>
                <span class="authors"><%=((String[]) item)[2]%></span>
                <br>
                <span class="publish_date" style="font-weight: bold;">Publish date:<%=((String[]) item)[5]%></span>
            </div>
        </div>
    </div>

    <br clear="all">
    
<%
    }
%>
